package com.turing.post.salesmanage.util;

import java.math.BigInteger;
import java.util.List;

import javax.ejb.Local;
import javax.ejb.Remote;

import com.turing.post.util.PCPSApplicationException;

/**
 * 行业信息接口
 * 
 * @author ZXL
 * 
 */
@Remote
@Local
public interface IndustryDao {
	/**
	 * 根据主键查询行业信息
	 * 
	 * @param industryId
	 * @return
	 */
	public Industry getIndustryByIndustryId(BigInteger industryId);

	/**
	 * 根据编号查询行业信息
	 * 
	 * @param industryId
	 * @return
	 */
	public Industry getIndustryByIndustryNo(String IndustryNo);

	/**
	 * 新增
	 * 
	 * @param industry
	 * @throws PCPSApplicationException
	 */
	public void insertIndustry(Industry industry)
			throws PCPSApplicationException;

	/**
	 * 查询一级行业信息
	 * 
	 * @return
	 */
	public List<Industry> getFirstIndustryList();

	/**
	 * 下拉树
	 * @return
	 */
	public List<Industry> getIndustryList(String superindustryno);
}
